home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form5
- Caption = "Open"
- ClientHeight = 4845
- ClientLeft = 1275
- ClientTop = 915
- ClientWidth = 7275
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 177
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H80000008&
- LinkTopic = "Form5"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 4845
- ScaleWidth = 7275
- Begin VB.CommandButton cancel
- BackColor = &H80000005&
- Caption = "Cancel"
- Height = 375
- Left = 3600
- TabIndex = 6
- Top = 4200
- Width = 2175
- End
- Begin VB.CommandButton save1
- BackColor = &H80000005&
- Caption = "Open"
- Default = -1 'True
- Height = 375
- Left = 1080
- TabIndex = 5
- Top = 4200
- Width = 2175
- End
- Begin VB.DriveListBox Drive1
- Height = 315
- Left = 2880
- TabIndex = 4
- Top = 3720
- Width = 4095
- End
- Begin VB.DirListBox Dir1
- Height = 2790
- Left = 2880
- TabIndex = 3
- Top = 600
- Width = 4095
- End
- Begin VB.FileListBox File1
- Height = 3015
- Left = 240
- Pattern = "*.htm*"
- TabIndex = 1
- Top = 600
- Width = 2295
- End
- Begin VB.TextBox filename
- Height = 285
- Left = 240
- TabIndex = 0
- Top = 120
- Width = 2295
- End
- Begin VB.Label path
- BackStyle = 0 'Transparent
- BorderStyle = 1 'Fixed Single
- Height = 255
- Left = 2880
- TabIndex = 2
- Top = 120
- Width = 4095
- End
- Attribute VB_Name = "Form5"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Sub cancel_Click()
- Unload Me
- End Sub
- Sub Dir1_Change()
- File1 = Dir1
- path = Dir1.path
- End Sub
- Sub File1_Click()
- filename.Text = File1
- End Sub
- Sub save1_Click()
- Dim l0036 As Variant
- Dim l003C As String * 10000
- l0036 = Form5.path.Caption + "\" + Form5.filename.Text
- Open l0036 For Random As #1 Len = Len(l003C)
- Get #1, , l003C
- Form1.main.Text = l003C
- Close #1
- Unload Me
- End Sub
-